package com.kazimsoylu.jpa.service.persistence;

import java.util.List;

public interface EntityService 
{
	public <T> T getEntity(Class<T> clazz, Long id);
	
	public <T> T getEntity(Class<T> clazz, Integer id);
	
	public <T> List<T> getEntities( Class<T> clazz );
	
	public <T> List<T> getByNamedQuery( String namedQuery,Object... params );
}
